<div id="footer" class="clear">
    <div class="container">
        <div class="footer-left fl">
            <div class="footer-logo">原创 就上梧桐珆</div>
            <div class="footer-nav">
                <a href="{:C('SHEQU_DOMAIN')}/company/about.html" target="_blank">关于我们</a><span>|</span>
                <a href="http://www.lagou.com/gongsi/122391.html" target="_blank" rel="nofollow">加入我们</a><span>|</span>
                <a href="{:C('SHEQU_DOMAIN')}/company/more-partners.html" target="_blank">合作伙伴</a><span>|</span>
                <a href="{:C('SHEQU_DOMAIN')}/information-list/cooperationinformation.html?id=404" target="_blank">下载APP</a><span>|</span>
                <a href="{:C('SHEQU_DOMAIN')}/company/service.html" target="_blank">服务条款</a><span>|</span>
                <a href="{:C('SHEQU_DOMAIN')}/company/service.html#private" target="_blank">隐私说明</a><span>|</span>
                <a href="{:C('SHEQU_DOMAIN')}/company/service.html#copyright" target="_blank">版权说明</a><span>|</span>

                <a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow">粤ICP备16047241号-1</a>&nbsp;&nbsp;&nbsp;©2016-{:date('Y')}&nbsp;wttai.com
            </div>
        </div>
        <div class="footer-right fr">
            <!--span class="tt"><a href="https://twitter.com/search?q=%E6%A2%A7%E6%A1%90%E7%8F%86&src=typd" target="_blank" rel="nofollow" class="iconfont iconfont-tt">&#xe633;</a></span>
            <span class="in"><a href="https://www.linkedin.com/in/%E6%A1%90%E7%8F%86-%E6%A2%A7-466b89121" target="_blank" rel="nofollow" class="iconfont iconfont-in">&#xe637;</a></span-->
            <!-- <span class="facebook"><a href="" target="_blank" class="iconfont iconfont-facebook">&#xe636;</a></span> -->
            <span class="wb"><a href="http://www.weibo.com/wutongtai" target="_blank" rel="nofollow" ><i class="iconfont iconfont-xl">&#xe629;</i></a><img src="http://statics.wttai.com/debug/img/weibo.png?v=2.1.14&amp;t=14640026" alt="微博"></span>
            <!-- <span class="qq"><i class="iconfont iconfont-qq">&#xe615;</i></span> -->
            <span class="wx"><i class="iconfont">&#xe627;</i><img src="http://statics.wttai.com/debug/img/weixin.png?v=2.1.14&amp;t=14640026" alt="微信"></span>
        </div>
    </div>
</div>
<script>
    $(document).ready(function () {
        $('[data-role="add_more"]').click(function () {
            $(".footer-bar").fadeToggle();
            $("#add_more").hide();
        });
        $('[data-role="close_more"]').click(function () {
            $(".footer-bar").fadeToggle();
            $("#add_more").show("slow");
        });
    });
</script>

<script>
    // VERSION_NAME 替换为项目的版本，VERSION_CODE 替换为项目的子版本
  //  new Bugtags('d6023daa6c7467634636c87b3f16213e','8.12','VERSION_CODE');
  var $t, leftX, newWidth;
    $('.menu ul').append('<div id="blockLine"></div>');
    var $blockLine = $('#blockLine');
    var menuOk = $('.menu ul li').hasClass('active');
    if(menuOk){
        $blockLine.width($(".active").width()).css('left', $('.active a').position().left).show().data('rightLeft', $blockLine.position().left).data('rightWidth', $blockLine.width());
    }else{
        $blockLine.hide();
    }
    $('.menu ul li').find('a').hover(function() {
        $t = $(this);
        leftX = $t.position().left;
        newWidth = $t.parent().width();

        $blockLine.stop().animate({
            left: leftX,
            width: newWidth
        },250);
    }, function() {
        $blockLine.stop().animate({
            left: $blockLine.data('rightLeft'),
            width: $blockLine.data('rightWidth')
        },250)
    })
</script>



<script type="text/javascript">
    $(function() {
        $('.login-out.login-ing').on('click',function(){
            $('#popLogin').show();
        })
            /*关闭弹窗*/
        $('body').on('click', '.lyclose.pop-close', function(){
            $(this).parents('.pop-box').hide();
            $('#userClass').hide();
            $('#regBox').css({visibility: 'hidden'});
        });
        
        var need_login = "<?php echo $login_show ?>";
        if (need_login != '' && need_login == 'on'){
            $('#popLogin').show();
        }
         /*提交ip*/
            $.ajax({
                type: "get",  
                url: "http://huodong.wttai.com/index.php?s=/api/api/get_ip",  
                dataType: "jsonp",
                jsonp: "callback",
                success: function(data){  
                 console.log(data);  
                },  
                error: function(){  
                 console.log('fail');  
                }  
            });




            

<?php if(!intval($_SESSION['memberId']) && (@$_COOKIE['loginCookie'] == 'ok')){?>   
        //检测是否登录，同步登录或退出           
                    var logincheck_url = "<?=C('SHEQU_DOMAIN')?>/user-api/logincheck.html";
                    $.ajax({
                      "url":logincheck_url,
                      "dataType":"jsonp",
                      "success":function(data){
                        if (data.code != 1000) {
                          return console.log(data.message);
                        }
                        shequlogin(data.sign);
                      },
                      "error":function(){
                        console.log('网络错误');
                      }
                    });

                    function shequlogin(sign){  

                      var login_url = "<?=U('My/shequlogin')?>";
                      $.ajax({
                        "url":login_url,
                        "dataType":"json",
                        "data":{"sign":sign},
                        "type":"post",
                        "success":function(data){
                            //console.log(data);return false;
                          if (data.code == 1) {
                            //location.href = location.href;
                            window.location.reload();
                          }
                          //console.log(data.code);
                        },
                        "error":function(){
                          console.log('网络错误');
                        }
                      });
                    }
    
<?php } ?>

            


    })
</script>
</body>
</html>